package com.olddriver.crm.service;

import com.olddriver.crm.domain.AccidentBillItem;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.QueryObject;

import java.util.List;

public interface IAccidentBillItemService {

    int insert(AccidentBillItem accidentBillItem);

    List<AccidentBillItem> listAll();

    AccidentBillItem selectByPrimaryKey(Long id);

    PageResult query(QueryObject qo);

    void updateCaseState(AccidentBillItem accident);

    void changeAppearState(Long id);

    void changeAuditState(Long id);

    AccidentBillItem getClaimByClamId(Long id);

    void declinature(Long id);

    void delete(Long id);
    int getUndealAccident();
}
